package com.edu.vodservicec;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName VodApplication
 * @date 2022/9/20 11:31
 * @Version 1.0
 */
@EnableFeignClients //开启openfeign
@EnableDiscoveryClient //开启nacos
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = "com.edu")
public class VodApplication {

    //视频点播启动类
    public static void main(String[] args) {
        SpringApplication.run(VodApplication.class,args);
    }
}
